<template>
  <div id="message">
    <div class="top">
      <img src="/icon/信息.png" alt="" />
      <span>信息</span>
    </div>
    <div class="list">
      <van-tabs line-width="30%" color="#FFB900" line-height="6%">
        <van-tab title="消息列表">
          <message></message>
        </van-tab>
        <van-tab title="联系人">
          <contact></contact>
        </van-tab>
      </van-tabs>
    </div>
  </div>
</template>

<script setup>
import message from "./message.vue";
import contact from "./contact.vue";
</script>

<style scoped>
* {
  margin: 0;
  padding: 0;
}

#message {
  width: 100vw;
  height: 80vh;
}

.top {
  width: 100%;
  height: 10%;
  display: flex;
}

.top span {
  font-size: 1.5rem;
  margin-left: 5%;
  margin-top: 3%;
}

.top img {
  width: 6%;
  height: 35%;
  margin-left: 5%;
  margin-top: 5%;
}
</style>